.none-ul-default-style {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
.node-item-style {
    position: relative;
    line-height: 24px;
    font-size: 12px;
    color: rgb(206, 206, 206);
    padding: 0 20px;
    box-sizing: border-box;
}
.visbar-blueprint {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    .blueprint-canvas {
        width: 100%;
        height: 100%;
        position: relative;
        background: #222b2e;
    }
    .visbar-blueprint-node {
        position: absolute;
        background: #1c2024;
        border-radius: 5px;
        border: 2px solid #1c2024;
        min-width: 150px;
        cursor: pointer;
        &.visbar-active-node {
            border-color:#ff8637;
        }
        .node-header {
            width: 100%;
            padding: 0 20px;
            line-height: 32px;
            background: #31353a;
            color: #FFF;
            border-radius: 5px;
        }
        .node-event-wrapper, .node-action-wrapper {
            > p {
                line-height: 24px;
                background: #31353a;
                font-size: 12px;
                padding: 0 20px;
                margin: 0;
                color: rgb(168, 166, 166);
            }
            .node-event-list, .node-action-list {
                .none-ul-default-style;
                .action-item, .event-item {
                    .node-item-style;
                }
            }
        }
        .endpoint-dot {
            position: absolute;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 1px solid #333232;
            background: #828f9c;
            top: 50%;
            transform: translateY(-50%);
            &.action-endpoint, &.serial-enter-dot {
                left: -6px;
            }
            &.event-endpoint, &.serial-output-dot {
                right: -6px;
            }
        }
        &.serial-node {
            background: #4c8871;
            .node-header {
                background: #38b476;
            }
            .serial-node-body {
                padding: 10px 12px;
                .serial-node-btn {
                    display: inline-block;
                    width: 100%;
                    background: #38b476;
                    border: 1px solid #38b476;
                    border-radius: 20px;
                    color: #fff;
                }
            }
        }
        &.keyboard-node, &.timer-node, &.condition-node {
            background: #1563a3;
            .node-header {
                background: #2aa8f1;
            }
            .condition-editor {
                width: 100%;
                margin: 5px 0;
                padding: 0 10px;
                box-sizing: border-box;
                .condition-btn {
                    display: inline-block;
                    height: 24px;
                    width: 100%;
                    background: #2aa8f1;
                    border: 1px solid #2aa8f1;
                    color: #fff;
                }
            }
            .keyboard-node-body, .timer-node-body, .condition-node-body {
                display: flex;
            }
            .keyboard-node-body ul, .timer-node-body ul, .condition-node-body ul {
                .none-ul-default-style;
                flex: 1;
                .action-item, .event-item {
                    .node-item-style;
                    white-space: nowrap;
                }
                .event-item {
                    text-align: right;
                }
            }
            .timer-delay-container {
                width: 100%;
                margin: 5px 0;
                padding: 0 10px;
                .delay-input {
                    width: 100%;
                    border: 1px solid #b1c5d8;
                    outline: none;
                    border-radius: 20px;
                    padding-left: 12px;
                }
            }
        }
    }
    .visbar-blueprint-edge {
        stroke: #4b4f6b;
        stroke-width: 2px;
        cursor: pointer;
        &.visbar-active-edge {
          stroke: #ff8637;
        }
    }
    .blueprint-tool {
        display: flex;
    }
    .outline-tree {
        width: 240px;
        height: 100%;
        background: #222b2e;
        border-right: 1px solid #1c2024;
        box-shadow: 0px 0px #31353a;
        .control-item {
            margin-bottom: 0;
            color: #dee4eb;
            height: 45px;
            line-height: 45px;
            padding: 0 20px;
            border-bottom: 1px solid #454749;
        }
    }
    .build-in-control {
        width: 240px;
        height: 100%;
        background: #222b2e;
        border-right: 1px solid #1c2024;
        box-shadow: 0px 0px #31353a;
        .hander-list, .emitter-list {
            width: 100%;
            height: auto;
            .title {
                line-height: 36px;
                border-bottom: 1px solid #454749;
                padding: 0 20px;
                margin: 0;
                color: #dee4eb;
            }
        }
        .hander-list, .emitter-list {
            margin-bottom: 15px;
            .control-item {
                width: 100%;
                height: 40px;
                margin: 0;
                color: #333;
                line-height: 40px;
                border-bottom: 1px solid #454749;
                padding: 0 20px;
            }
        }
        .hander-list .control-item {
            background: #4beb9b;
        }
        .emitter-list .control-item {
            background: #49b0eb;
        }
    }
    .v-drag-wrapper {
        &.disabled-drag {
            pointer-events: none;
            cursor: default !important;
            opacity: .6 !important;
        }
    }
}

#visbar-blueprint-monaco-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}